const mongoose = require("mongoose");
const Schema = mongoose.Schema;
const student_info_schema = new Schema({
    stu_id: {
        type: String,
        unique: true,
        required: true
    },
    stu_name: {
        type: String,
        unique: false,
        required: true
    },
    stu_sex: {
        type: String,
        unique: false,
        required: true
    },
    stu_jg: {
        type: String,
        unique: false,
        required: true
    },
    stu_date: {
        type: String,
        unique: false,
        required: false,
    },
    stu_hobby: {
        type: String,
        unique: false,
        required: false,
    },
    stu_gbf: {
        type: String,
        unique: false,
        required: false,
    },
    stu_head_img: {
        type: String,
        unique: false,
        required: false,
    }
})
const Student_info = mongoose.model("student_info", student_info_schema)
module.exports = Student_info;